
using System;

namespace NForth3
{
        
        class NextLine
        {
        	public static string Value = "";
        	
        	public static void Execute()
        	{
        		Value = Console.ReadLine();
        	}
        }
        
        class NextWord
        {
        	public static string Value = "";
        	
        	public static void Execute()
        	{
        		if(NextLine.Value == "")
        			NextLine.Execute();
        		
        		Value = "";
        		
        		NextLine.Value = NextLine.Value.TrimStart(new char[] { ' ', '\t' });
        		if(NextLine.Value.Length == 0)
        			Execute();
        		
        		while(NextLine.Value.Length > 0 && NextLine.Value[0] != ' ' && NextLine.Value[0] != '\t')
        		{
        			Value += NextLine.Value[0];
        			NextLine.Value = NextLine.Value.Substring(1);
        		}
        	}
        }
}
